* {
    margin: 0;
    padding: 0;
}
body {
  background-color: #f1f1f1;
  margin: 0px;
  padding: 0px;
  font-family: helvetica;
}

#header {
  background-image: url('header-bg.jpg');
  height: 57px;
  box-shadow: 0px 2px 3px rgba(0, 1, 0, 0.80);
  margin-bottom: 4px;
  padding-left: 24px;
  padding-right: 30px;
}

#headermenu {
  float: right;
  top: 50%;
  margin-top: -10px;
  position: relative;
}

#headermenu a{
  font-size: 11px;
  font-weight: bold;
  color: #fffffa;
  text-decoration: none;
  margin-left: 10px;
}

#headermenu a:hover {
  border-bottom: 1px dotted white;
}

#footer {
  margin-left: 244px;
  padding-left: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: bold;
  color: #757e79;
  font-family: helvetica;
  font-weight: bold;
  background-image: url('img/lightcastle.png');
  background-repeat: no-repeat;
  background-position: left center;
}

#footer a{
  color: #757e79;
}

.button {
  background:  url(img/btn_grad.png) repeat-x;
  display: inline-block;
  font-size: 11px;
  padding: 8px 8px 7px 7px;
  color: #f4f6f7;
  text-decoration: none;
  font-weight: bold;
  font-family: helvetica;
  line-height: 1;
  border-radius: 4px;
  box-shadow: inset 1px 1px 1px #8eb4cb;
  text-shadow: 0 1px 2px #436173;
  border-bottom: 1px solid #174360;
  border-top: 1px solid #1e4b68;
  border-left: 1px solid #30566d;
  border-right: 1px solid #214660;
  position: relative;
  cursor: pointer;
  top: 14px;
  margin-right: 0px;
}

.button .icon{
  width: 14px;
  height: 14px;
  background-image: url('img/plus.png');
  display: block;
  float: left;
  margin-right: 4px;
  margin-top: -1px;
}

#search {
  border-radius: 5px;
  border: none;
  border-width: 1px;
  border-style: solid;
  border-bottom-color: #315c7e;
  border-left-color: #396486;
  border-right-color: #396280;
  border-top-color: #3d6a89;
  background-color: #eaeff5;
  padding-left: 24px;
  width: 400px;
  height: 26px;
  top: 14px;
  position: absolute;
  left: 244px;
  padding-top: 0px;
  color: #767b75;
  font-size: 12px;
  font-weight: bold;
  background-image: url('img/search.png');
  background-repeat: no-repeat;
  background-position: 7px 8px;
}

#menu {
  margin-top: 27px;
  margin-left: 24px;
  width: 219px;
  float: left;
}

#main {
  background-color: white;
  border-radius: 8px; 
  border: 1px solid #d9d9d9;
  margin-left: 244px;
  margin-right: 24px;
  margin-top: 16px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 60px;
  box-shadow: 0px 0px 4px #c6c6c6;
}

#main input {
  height: 22px;
  /*border-style: solid;
  border-width: 1px;
  border-bottom-color: #dddddf;
  border-left-color: #c2c3c5;
  border-right-color: #c2c3c5;
  border-top-color: #cdcdcf;
  box-shadow: 0px -1px 1px #7a7b7f;
  */padding-left: 6px;
}

#optinfo {
    width: 100%;
    height: 75px;
    margin-top: 8px;
    margin-bottom: 15px;
    padding: 4px;
    font: 12px helvetica;
}

#center {
  left: 50%;
  margin-left: -480px;
  width: 960px;
  position: absolute;
}

#main_header {
  margin-left: -30px;
  margin-right: -30px;
  background-color: #f6f9fe;
  margin-bottom: 20px;
  border-bottom: 1px solid #dfdee3;
  border-radius: 8px 8px 0 0;
  padding: 15px 30px 15px 30px;
  font-size: 12px;
  font-weight: bold;
  color: #203c6b;
}

#main_header .big {
    font-size: 14px;
}

#main_header .middle {
    font-size: 14px;
}

#main_header a{
    color: #577a90;
}

#main_header ul {
    font-size: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

#main_header ul li {
    height: 43px;
    line-height: 43px;
    color: #95948d;
}

#main_header ul li span {
    width: 95px;
    display: inline-block;
    color: black;
}

#main_content {
    color: #95948d;
    font-size: 12px;
    font-weight: bold;
}

#main_content strong {
    color: black;
}

#main_content ul {
    font-size: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 10px;
    font-weight: bold;
    margin-bottom: 14px;
}

#main_content ul li {
    height: 41px;
    line-height: 43px;
    color: #95948d;
    border-bottom: 1px dotted #dfdfdf;
}

#main_content ul li strong {
    width: 95px;
    display: inline-block;
    color: black;
}

#main_content ul.radiolist li{
    color: black;
    font-weight: normal;
    height: 19px;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    border: none;
    line-height: 19px;
}

#main_content ul.radiolist {
    margin-bottom: 35px;
}

#main_content ul.radiolist input {
    height: auto;
}

#main_content input[type=submit] {
    height: auto;
    font-size: 11px;
}

small {
    font-size: 11px;
}

.cancel {
    color: #e93c1c;
}


#menu ul{
  margin: 0;
  padding: 0;
}

#menu li{
  padding-left: 40px;
  list-style: none;
  font: 12px Verdana;
  color: #95948d;
  text-shadow: 0px 1px 1px white;
  height: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
  background-repeat: no-repeat;
  background-position: 8px 2px;
  font-weight: bold;
}

#menu li.active {
  background-color: #e6e3de;
  color: black;
  font-weight: bold;
  text-shadow: 0px 1px 2px white;
}

#menu li#delimiter {
  padding: 0px 0px 0px 0px;
  height: 2px;
  background-image: url('img/delimiter.png');
  background-repeat: repeat-x;
  background-position: left center;
  margin-top: 13px;
  margin-bottom: 14px;
}

#contacts {
  background-image: url('img/contacts.png');
}

#contacts.active {
  background-image: url('img/contacts_active.png');
}
#cases {
  background-image: url('img/cases.png');
}

#cases.active {
  background-image: url('img/cases_active.png');
}
#activity {
  background-image: url('img/home.png');
}

#activity.active {
  background-image: url('img/home_active.png');
}
#tasks {
  background-image: url('img/tasks.png');
}

#tasks.active {
  background-image: url('img/tasks_active.png');
}

#recently_header {
    font-size: 12px;
    font-family: helvetica;
    font-weight: bold;
    color: #95948f;
    margin-left: 4px;
    display: block;
    height: 24px;
}

#recently {
    width: 200px;
}

#recently li {
    padding: 5px;
    border-bottom: 1px solid #ebe8e3;
    height: auto;
    color: #a7a7a7;
    text-shadow: none;
    font-family: arial;
    min-height: 33px;
    font-size: 11px;
}

#recently a {
    text-decoration: none;
    color: #A7A7A7;
}

#recently li strong {
    color: #5a5955;
    display: block;
    font-size: 12px;
    text-shadow: 0px 1px 1px white;
}

#recently li img {
    width: 32px;
    height: 32px;
    border: 1px solid #e8e8e8;
    float: left;
    margin: 0;
    padding: 0;
    margin-right: 9px;
}

#recently li.active {
    background-color: #e5e5e5;
    text-shadow: none;
    font-family: arial;
    min-height: 33px;
    font-size: 11px;
    height: auto;
    color: #a7a7a7;
}

#recently li:hover {
    background-color: #e5e5e5;
    text-shadow: none;
    font-family: arial;
    min-height: 33px;
    font-size: 11px;
    height: auto;
    color: #a7a7a7;
}